package bridge;

/**
 * 抽象部分
 */
public abstract class Shape {
    protected Color color; // 将 Color 组合进 Shape，两者之间是 Has-A 关系

    public Shape(Color color) {
        this.color = color;
    }

    public abstract void draw();
}
